<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>论坛</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <!-- Bootstrap styles -->
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
   
    <!-- Font-Awesome -->
    <link rel="stylesheet" href="../../css/font-awesome/css/font-awesome.min.css">

    <!-- Google Webfonts -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,600|PT+Serif:400,400italic' rel='stylesheet' type='text/css'>

    <!-- Styles -->
    <link rel="stylesheet" href="../../css/style.css" id="theme-styles">

    <!-- AngularJS -->
    <script src="http://apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"></script>
    <script src="http://apps.bdimg.com/libs/angular-route/1.3.13/angular-route.js"></script>
    <!--[if lt IE 9]>      
        <script src="js/vendor/google/html5-3.6-respond-1.1.0.min.js"></script>
    <![endif]-->
    
</head>
<body>
    <header>
        <div class="widewrapper masthead">
            <div class="container">
                <a href="index.html" ng-model="logo">
                    <font size=7>Aperture</font>
                </a>

                <div id="mobile-nav-toggle" class="pull-right">
                    <a href="#" data-toggle="collapse" data-target=".clean-nav .navbar-collapse">
                        <i class="fa fa-bars"></i>
                    </a>
                </div>

                <nav class="pull-right clean-nav">
                    <div class="collapse navbar-collapse">
                        <ul class="nav nav-pills navbar-nav">
                          
                            <li>
                                <a href="index.html">主页</a>
                            </li>
                            <li>
                                <a href="about.html">论坛</a>
                            </li>
                            <li>
                                <a href="contact.html">个人中心</a>
                            </li>                        
                        </ul>
                    </div>
                </nav>        

            </div>
        </div>

        <div class="widewrapper subheader">
            <div class="container">

                <div class="clean-searchbox">
                    <form action="#" method="get" accept-charset="utf-8">
                        <input class="searchfield" ng-model="searchbox" type="text">
                        <button class="searchbutton" type="submit">
                            <i class="fa fa-search"></i>
                        </button>
                    </form>
                </div>
            </div>
        </div>
    </header>
    

    <div class="widewrapper main">
        <div class="container">
            <div class="row">

                <div class="col-md-8 blog-main">
                    <div class="row" ng-repeat="x in postList">
                        <div class="col-md-12 col-sm-12">
                            <div class="post">
                                <img src="../../images/project-1.jpg" alt="头像">
                                <div>
                                    <span class="fh5co-post-date">{{x.date}}</span>
                                    <h2><a ng-click="openSinglePost(x.postId)">{{x.postName}}</a></h2>
                                    <p>{{x.author}}</p>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="paging">
                        <a href="#" class="older">更早</i></a>
                    </div>
                </div>
                
                <aside class="col-offset-8 col-md-4 blog-aside">
                    <button class="btn btn-lg btn-info" ng-click="openAddPost()">发布帖子</button>
                </aside>

                <aside class="col-offset-8 col-md-4 blog-aside">

                    <div class="aside-widget">
                        <header>
                            <h3>筛选</h3>
                        </header>
                        <div class="body clearfix">
                            <ul class="tags">
                                <li><a href="#/">约拍区</a></li>
                                <li><a href="#/">技术区</a></li>                    
                            </ul>
                        </div>
                    </div>
                </aside>
            </div>
        </div>
    </div>
    
    <script src="../../js/jquery.min.js"></script>
    <script src="../../js/bootstrap.min.js"></script>
    <script src="../../js/modernizr.js"></script>

</body>
</html>